package cn.com.shopec.erp.financing.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * @ClassName PurchaseSaleOfSettlementPO
 * @Description 购销结算明细
 * @author chengui
 * @date 2013-5-22 上午10:55:27
 */
@Entity
@Table(name = "TBL_PO_SETTLEMENT_DETAIL")
public class PurchaseSaleOfSettlementPO {
    private String id;
    /** 单号 **/
    private String inputstorageno;
    /** 货品时间 **/
    private String productdata;
    /** 货品名称 **/
    private String productname;
    /** 货品编号 **/
    private String productno;
    /** 货品名数量 */
    private int productnum;
    /** 货品单价 **/
    private Double productprice;
    
    private double prpPrice;
    
    /** 货品金额 **/
    private Double producttotal;
    /** 采购标识 **/
    private int purchaseflag;
    /** 总退货价 **/
    private String returnvalue;
    /** 结算单据号 **/
    private String statementno;
    
    private String ref;
    /**结算标志**/
    private String finFlag;
    
    @Column(name="FIN_FLAG")
    public String getFinFlag() {
		return finFlag;
	}
	public void setFinFlag(String finFlag) {
		this.finFlag = finFlag;
	}
    private String piNo;
    @Column(name="PI_NO")
    public String getPiNo() {
		return piNo;
	}
	public void setPiNo(String piNo) {
		this.piNo = piNo;
	}
	/**审核标志**/
	private String checkFlag;
    @Column(name="REF_ID")
    public String getRef() {
		return ref;
	}
	public void setRef(String ref) {
		this.ref = ref;
	}
	@Column(name="PART_FLAG")
    public String getCheckFlag() {
		return checkFlag;
	}
	public void setCheckFlag(String checkFlag) {
		this.checkFlag = checkFlag;
	}
	public PurchaseSaleOfSettlementPO() {
    }
    @Column(name="PRE_PRICE")
    public double getPrpPrice() {
		return prpPrice;
	}

	public void setPrpPrice(double prpPrice) {
		this.prpPrice = prpPrice;
	}

	@GenericGenerator(name = "generator", strategy = "uuid.hex")
    @Id
    @GeneratedValue(generator = "generator")
    @Column(name = "ID", unique = true, nullable = false, length = 32)
    public String getId() {
        return this.id;
    }

    @Column(name = "input_storage_no")
    public String getInputstorageno() {
        return this.inputstorageno;
    }

    @Column(name = "product_data")
    public String getProductdata() {
        return this.productdata;
    }

    @Column(name = "product_name")
    public String getProductname() {
        return this.productname;
    }

    @Column(name = "product_no")
    public String getProductno() {
        return this.productno;
    }

    @Column(name = "product_num")
    public int getProductnum() {
        return this.productnum;
    }

    @Column(name = "product_price")
    public Double getProductprice() {
        return this.productprice;
    }

    @Column(name = "product_total")
    public Double getProducttotal() {
        return this.producttotal;
    }

    @Column(name = "purchase_flag")
    public int getPurchaseflag() {
        return this.purchaseflag;
    }

    @Column(name = "returnvalue")
    public String getReturnvalue() {
        return this.returnvalue;
    }

    @Column(name = "statement_no")
    public String getStatementno() {
        return this.statementno;
    }

    public void setId(String id) {
        this.id = id;
    }

    public void setInputstorageno(String inputstorageno) {
        this.inputstorageno = inputstorageno;
    }

    public void setProductdata(String productdata) {
        this.productdata = productdata;
    }

    public void setProductname(String productname) {
        this.productname = productname;
    }

    public void setProductno(String productno) {
        this.productno = productno;
    }

    public void setProductnum(int productnum) {
        this.productnum = productnum;
    }

    public void setProductprice(Double productprice) {
        this.productprice = productprice;
    }

    public void setProducttotal(Double producttotal) {
        this.producttotal = producttotal;
    }

    public void setPurchaseflag(int purchaseflag) {
        this.purchaseflag = purchaseflag;
    }

    public void setReturnvalue(String returnvalue) {
        this.returnvalue = returnvalue;
    }

    public void setStatementno(String statementno) {
        this.statementno = statementno;
    }
}
